<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript">
	var iphone6 = {
		'size':'4.7吋',
		'color':'土豪金',
		'price':'998元',
		'call':function(){
			alert('能给女神打电话');
		},
		'wechat':function(){
			alert('摇一摇');
		}
	};

	// for(x in iphone6){
	// 	document.write(x+'=>'+iphone6[x]+'<br />');
	// }

	alert(iphone6.price)
	delete iphone6.price;
	alert(iphone6.price)

	
	// alert(iphone6.color);
	// alert(iphone6['color']);
	// {
	// 	0:'香山',
	// 	1:'长城',
	// 	2:'水立方'
	// }
</script>
</head>

<body>
</body>
</html>
